﻿using UnityEngine;
using System.Collections;

public class CameraEventHandler : MonoBehaviour {

	public void showwaveui(System.Object[] objs)
	{
		Debug.LogError("showwaveui");
		BattleManager.Instance.ShowWaveUI();
	}

	public void EndOfPlay(IEventlinePlayer takePlayer)
	{
		RDebug.Log("CameraEventHandler EndOfPlay  length = "+ (Time.timeSinceLevelLoad-CamTakeSetting.Instance.startPlayTime) );
		CamTakeSetting.Instance.bStartedIdleCamera=false;
		CamTakeSetting.Instance.PlayIdle();
	}
}
